//
//  YLIntegralRecordCell.m
//  YLFinanceService
//
//  Created by she1323 on 2017/9/19.
//  Copyright © 2017年 she1323. All rights reserved.
//  积分记录 / 邀请记录

#import "YLIntegralRecordCell.h"
#import "YLIntegralRecordModel.h"
#import "YLInvitingFriendsModel.h"
@interface YLIntegralRecordCell ()

@property (weak, nonatomic) IBOutlet UILabel *leftLabel;
@property (weak, nonatomic) IBOutlet UILabel *centerLabel;
@property (weak, nonatomic) IBOutlet UILabel *rightLabel;

@end

@implementation YLIntegralRecordCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setModel:(YLIntegralRecordModel *)model
{
    _model = model;
    _leftLabel.text = model.pointChangeTypeText;
    _centerLabel.text = model.pointQuatoText;
    _rightLabel.text = model.entryTimeText;
}

- (void)setFriendsModel:(YLInvitingFriendsModel *)friendsModel
{
    _friendsModel = friendsModel;
    _leftLabel.text = friendsModel.customerTel;
    _centerLabel.text = friendsModel.discountQuota;
    _rightLabel.text = friendsModel.effectiveDateText;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

+ (NSString *)cellID
{
    return @"YLIntegralRecordCell";
}

@end
